import React from 'react';
import { Router, Route, Switch } from 'dva/router';
// import Home from './routes/Home/Home';
// import IndexPage from './routes/IndexPage/IndexPage';
import Main from './routes/Main/Main';
import Card from './components/CardProcess/Card';
import Login from './routes/Login/Login'

function RouterConfig({ history }) {
	return (
		<Router history={history}>
			<Switch>
				<Route path="/" exact component={Login}></Route>
			</Switch>
		</Router>
	);
}

export default RouterConfig;
